import request from '../utils/http'

// 获取预约详情
export function getResDetail(query) {

	return request({
		method: "get",
		url: '/res/detail-res',
		data: query

	})
}
// 取消预约
export function cancleRes(query) {
	return request({
		method: "get",
		url: '/res/cancle-res',
		data: query

	})
}

// 条件获取全部预约
export function getResList(query) {
	return request({
		method: "get",
		url: '/res/res-list',
		data: query

	})
}

// 预约审核
export function checkRes(data) {
	return request({
		method: "post",
		url: '/res/check-res',
		data: data

	})
}